Package com.cisco.pt.ipc.sim.impl
Class ServicePolicyImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ServicePolicyImpl
- All Implemented Interfaces:
IPCObject,ServicePolicy
Information provided by the PKI file:
\class ServicePolicy
\brief ServicePolicy holds service-policy configuration
\example network().getDevice("Router0").getServicePolicyManager().getIntfServicePolicy("FastEthernet0")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionServicePolicyImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:toString()Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
ServicePolicyImpl
public ServicePolicyImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
getServicePolicyMapName
Information provided by the PKI file:
\brief Returns the policyMap name that is being used- Specified by:
getServicePolicyMapNamein interfaceServicePolicy- Returns:
- String Returns a String
-
getServicePolicyMode
Information provided by the PKI file:
\brief Return the service policy mode ("interface"/"global")- Specified by:
getServicePolicyModein interfaceServicePolicy- Returns:
- String Returns a String
-
getServicePolicyIntf
Information provided by the PKI file:
\brief Return the service policy interface nameif- Specified by:
getServicePolicyIntfin interfaceServicePolicy- Returns:
- String Returns a String
-
toString
Information provided by the PKI file:
\brief Return the configuration in string- Specified by:
toStringin interfaceServicePolicy- Overrides:
toStringin classObject- Returns:
- String Returns a String
-